﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Project
{
    public partial class Duties : Form
    {
        public Duties()
        {
            InitializeComponent();
        }

        private void Duties_Load(object sender, EventArgs e)
        {
            string query="SELECT * FROM tbl_Duties";
            dgv_duties.DataSource = AdoHelper.ExecuteDataTable(query);
        }

        private void btn_back_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
